package com.yy.invoice.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class UserVo {
    private static final long serialVersionUID = 1L;

    @JsonIgnore
    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    private String username;

    @JsonIgnore
    private String password;

    private String tel;

    private String email;
}
